package org.tgit.gateway.common;

import java.io.Serializable;

/**
 * 
* @ClassName: TgitResponse   
* @Description: TODO()   
* @author fanzaijun 
* @date 2018年8月13日 下午3:31:25   
*
 */
public class TgitResponse implements Serializable{
	/** @Fields Administrator: TODO2018年8月13日下午3:31:53*/  
	private static final long serialVersionUID = -4902598496713221473L;
	// HTTP状态码
	private int code = 200;
	// 返回码描述
	private String message = "OK";
	// 业务返回码
	private String appCode = "0";
	
	public static TgitResponse success() {
		return new TgitResponse();
	}
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public String getAppCode() {
		return appCode;
	}
	public void setAppCode(String appCode) {
		this.appCode = appCode;
	}
	
}
